RasterRenderer.this

Creates a new [class@RasterRenderer] with the given details and a data source.

  1. this(ShumateRasterRenderer* shumateRasterRenderer, bool ownedRef)
  2. this(DataSource dataSource)
  3. this(string urlTemplate)
  4. this(string id, string name, string license, string licenseUri, uint minZoom, uint maxZoom, uint tileSize, ShumateMapProjection projection, DataSource dataSource)
  5. this(string id, string name, string license, string licenseUri, uint minZoom, uint maxZoom, uint tileSize, ShumateMapProjection projection, string urlTemplate)
    class RasterRenderer
    this
    (
    string id
    ,
    string name
    ,
    string license
    ,
    string licenseUri
    ,
    uint minZoom
    ,
    uint maxZoom
    ,,,)

Parameters

id string

the map source's id

name string

the map source's name

license string

the map source's license

licenseUri string

the map source's license URI

minZoom uint

the map source's minimum zoom level

maxZoom uint

the map source's maximum zoom level

tileSize uint

the map source's tile size (in pixels)

projection ShumateMapProjection

the map source's projection

urlTemplate string

a URL template to fetch tiles from

Return Value

a newly constructed [class@RasterRenderer]

Throws

ConstructionException GTK+ fails to create the object.

Meta